package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author  qiushaoshan
* @since 2025-01-08
*/
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ParticipatingUnit对象", description = "参建单位")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "participating_unit", resultMap = "BaseResultMap")
public class ParticipatingUnitBean extends Model<ParticipatingUnitBean> {


    private static final long serialVersionUID = -8913008307049846883L;
    
    @ApiModelProperty(value = "主键")
    @TableId(value = "obj_id")
    private String objId;

    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @ApiModelProperty(value = "单位简称")
    private String unitAbbreviation;

    @ApiModelProperty(value = "法人")
    private String legalPerson;

    @ApiModelProperty(value = "联系人")
    private String contacts;

    @ApiModelProperty(value = "联系电话")
    private String contactNumber;
    
    @ApiModelProperty(value = "经营范围")
    private String businessScope;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "是否黑名单；0否，1是")
    private String ifBlacklist;

    @ApiModelProperty(value = "是否删除；0否，1是")
    @TableLogic(value = "0", delval = "1")
    private String ifDelete;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;
}
